package com.zhengxing.jienci.content.service;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zhengxing.jienci.common.pojo.CustomizePage;
import com.zhengxing.jienci.common.pojo.Tag;
import com.zhengxing.jienci.common.support.SimpleResponse;

public interface TagService {
	
	 	public List<Tag> query(Tag tag);

	    public List<Tag> queryByMap(Map<String, Object> params);

	    public Tag queryById(long id);

	    public IPage<Tag> pageQuery(CustomizePage page, Tag tag);

	    public SimpleResponse insert(Tag tag);

	    public SimpleResponse editById(Tag tag);
	    
	    public SimpleResponse deleteById(String id);
	    
	    public SimpleResponse selectionTag(String tagId);
	    
	    public SimpleResponse selectionTags(String[] tagIds);
	    
	    public SimpleResponse cancel(String tagId);

	    SimpleResponse listTagByUserId();

}
